<?php
// 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면
// 캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
header("Expires: 0"); // rfc2616 - Section 14.21
header("Last-Modified: " . $gmnow);
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0
?>
<!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
<title><?=$g4['title']?></title>
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
</head>
<script language="javascript" src="<?=$g4['path']?>/js/common.js"></script>
<script language="javascript" src="<?=$g4['path']?>/js/ajax.js"></script>
<script language="javascript" src="<?=$g4['path']?>/Scripts/AC_RunActiveContent.js"></script>
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" <?=isset($g4['body_script']) ? $g4['body_script'] : "";?>>
<a name="g4_head"></a>
<link type="text/css" rel="stylesheet" href="css.css">
<style>
body {
    background-color: #f4f4e8;
}
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="f4f4e8">
<tr>
<td><table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="1024"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1024','height','169','src','../images/sub_top','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../images/sub_top' ); //end AC code
</script></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="202" valign="top">
<!--서브 메뉴 테이블 시작 -->
<?php
    switch($menu) {
        case '1':
            require_once("tpl/_sub01.html");
            break;
        case '2':
            require_once("tpl/_sub02.html");
            break;
        case '3':
            require_once("tpl/_sub03.html");
            break;
        case '4':
            require_once("tpl/_sub04.html");
            break;
        case '5':
            require_once("tpl/_sub05.html");
            break;
        case '6':
            require_once("tpl/_sub06.html");
            break;
        case '7':
            require_once("tpl/_sub07.html");
            break;
    }
?>
<!--서브 메뉴 테이블 끝 -->
</td>
<td width="75" valign="top"><img src="../images/sub_contents_sp.jpg" width="75" height="657" /></td>
<td valign="top">
